<%#
# To change this template, choose Tools | Templates | Licenses | Default License
# and open the template in the editor.
%>
<p>
  <label for="blog_name" >分类:</label>
  <%= form.collection_select(:category_id, @categories, :id, :name) %>
</p>
<p>
  <label for="blog_name" >标题:</label>
  <%=form.text_field :title, :size=>40 %>
</p>
<p>
  <label for="blog_short_description" >简短描述:</label>
  <%=form.text_area :short_description, :rows=>3, :cols=>40 %>
</p>
<p>
  <label for="blog_content" >内容:</label>
  <%=form.text_area :content, :cols=>50,:row=>5 %>
</p>